package com.class08;

import java.util.Scanner;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/4/1 16:09
 */
public class PersonTest {
    public static void main(String[] args) {
        Person person = new Person("李四",18);
        System.out.println(person.name);
        System.out.println(person.age);
        person.eat();
//        Person person1 = new Person();
//        person1.name = "张三";
//        person1.eat();
        Scanner scanner = new Scanner(System.in);

    }
}
